From 652e141b623c51178a0de4a59e6b2b6a2e4edb48 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Mon, 20 Mar 2006 18:20:44 +0100 Subject: [PATCH] Fix 64-bit build. Signed-off-by: Keir Fraser --- xen/include/asm-x86/mach-es7000/mach_mpparse.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/include/asm-x86/mach-es7000/mach_mpparse.h b/xen/include/asm-x86/mach-es7000/mach_mpparse.h index eb8b6c6665..ce17262a13 100644 --- a/xen/include/asm-x86/mach-es7000/mach_mpparse.h +++ b/xen/include/asm-x86/mach-es7000/mach_mpparse.h @@ -12,7 +12,7 @@ static inline int mps_oem_check(struct mp_config_table *mpc, char *oem, { if (mpc->mpc_oemptr) { struct mp_config_oemtable *oem_table = - (struct mp_config_oemtable *)mpc->mpc_oemptr; + (struct mp_config_oemtable *)(long)mpc->mpc_oemptr; if (!strncmp(oem, "UNISYS", 6)) return parse_unisys_oem((char *)oem_table); } -- 2.30.2